package cn.zymall.app.service;

import cn.zymall.common.model.ShippingAddress;
import cn.zymall.common.utils.response.HttpResult;

import java.util.List;

/**
 * @author xuxianda
 * @Description: TODO(这里用一句话描述作用)
 * @date 2020/8/27 15:17
 * @Copyright
 * @return
 **/
public interface AddressService {
    /**
     * 查询地址
     *
     * @return
     */
    public HttpResult select(ShippingAddress shippingAddress);

    /**
     * 删除地址
     *
     * @param shippingAddress
     * @return
     */
    public HttpResult remove(ShippingAddress shippingAddress);

    /**
     * 修改地址
     *
     * @param shippingAddress
     * @return
     */
    public HttpResult update(ShippingAddress shippingAddress);

    /**
     * 查询地址
     *
     * @param shippingAddress
     * @return
     */
    public HttpResult insert(ShippingAddress shippingAddress);

}
